Optimal. Leaf size=92 \[ \frac{\cos (e+f x) (a \sin (e+f x)+a)^{7/2} \sqrt{c-c \sin (e+f x)}}{5 a f}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{10 a f \sqrt{c-c \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.395089, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.079, Rules used = {2841, 2740, 2738} \[ \frac{\cos (e+f x) (a \sin (e+f x)+a)^{7/2} \sqrt{c-c \sin (e+f x)}}{5 a f}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{10 a f \sqrt{c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2841
Rule 2740
Rule 2738
Rubi steps
\begin{align*} \int \cos ^2(e+f x) (a+a \sin (e+f x))^{5/2} \sqrt{c-c \sin (e+f x)} \, dx &=\frac{\int (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2} \, dx}{a c}\\ &=\frac{\cos (e+f x) (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)}}{5 a f}+\frac{2 \int (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)} \, dx}{5 a}\\ &=\frac{c \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{10 a f \sqrt{c-c \sin (e+f x)}}+\frac{\cos (e+f x) (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)}}{5 a f}\\ \end{align*}
Mathematica [A] time = 0.493871, size = 92, normalized size = 1. \[ -\frac{a^2 \sec (e+f x) \sqrt{a (\sin (e+f x)+1)} \sqrt{c-c \sin (e+f x)} (-70 \sin (e+f x)-5 \sin (3 (e+f x))+\sin (5 (e+f x))+20 \cos (2 (e+f x))+5 \cos (4 (e+f x)))}{80 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.227, size = 106, normalized size = 1.2 \begin{align*} -{\frac{\sin \left ( fx+e \right ) \left ( -2\, \left ( \cos \left ( fx+e \right ) \right ) ^{6}+\sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{4}-2\, \left ( \cos \left ( fx+e \right ) \right ) ^{4}+3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) +6\,\sin \left ( fx+e \right ) -6 \right ) }{10\,f \left ( \cos \left ( fx+e \right ) \right ) ^{5}}\sqrt{-c \left ( -1+\sin \left ( fx+e \right ) \right ) } \left ( a \left ( 1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{5}{2}} \sqrt{-c \sin \left (f x + e\right ) + c} \cos \left (f x + e\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.29749, size = 236, normalized size = 2.57 \begin{align*} -\frac{{\left (5 \, a^{2} \cos \left (f x + e\right )^{4} - 5 \, a^{2} + 2 \,{\left (a^{2} \cos \left (f x + e\right )^{4} - 2 \, a^{2} \cos \left (f x + e\right )^{2} - 4 \, a^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{10 \, f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]